(define-module (ruby-fxruby)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
#:use-module (guix licenses)
#:use-module (guix build-system ruby))

(define-public ruby-mini-portile2
  (package
    (name "ruby-mini-portile2")
    (version "2.5.0")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "mini_portile2" version))
        (sha256
          (base32
            "1hdbpmamx8js53yk3h8cqy12kgv6ca06k0c9n3pxh6b6cjfs19x7"))))
    (build-system ruby-build-system)
    (synopsis
      "Simplistic port-like solution for developers. It provides a standard and simplified way to compile against dependency libraries without messing up your system.")
    (description
      "Simplistic port-like solution for developers.  It provides a standard and simplified way to compile against dependency libraries without messing up your system.")
    (home-page
      "http://github.com/flavorjones/mini_portile")
    (license #f)))

(define-public ruby-fxruby
  (package
    (name "ruby-fxruby")
    (version "1.6.42")
    (source
      (origin
        (method url-fetch)
        (uri (rubygems-uri "fxruby" version))
        (sha256
          (base32
            "1lg2gw9lr5yvbbyc10sgfhdvmwqw55pqclrfaqsnks1z349allg5"))))
    (build-system ruby-build-system)
    (propagated-inputs
      `(("ruby-mini-portile2" ,ruby-mini-portile2)))
    (synopsis
      "FXRuby is the Ruby binding to the FOX GUI toolkit.")
    (description
      "FXRuby is the Ruby binding to the FOX GUI toolkit.")
    (home-page "https://github.com/larskanis/fxruby")
    (license #f)))

ruby-mini-portile2
ruby-fxruby
